﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Reflection.Metadata;
using System.Text;
using System.Threading.Tasks;
using static System.Net.Mime.MediaTypeNames;

namespace Entity.Models
{
    [Table("OperateRecord")]
    public class OperateRecord
    {
        [Key]
        public string RecordId { get; set; }//varchar(50) PRIMARY KEY 记录Id(uuid)
        public string? CompanyNo { get; set; }//Varchar(50) FK:公司代码

        public DateTime? OperateTime { get; set; }//Datetime 时间
        public string? Content { get; set; }//Varchar(50) 操作内容
        public string? ReqMethod { get; set; }//Varchar(20) 请求方法
        public string? ReqUrl { get; set; }//text 请求的url
        public string? ReqData { get; set; }//text    请求的数据
        public string? Remark { get; set; }//Varchar(50) 备注
        public string? ExtData { get; set; }//json 附加数据
        public string? Operator { get; set; }//Varchar(50) 操作员名称
        public string? ClientType { get; set; }//Varchar(20) 客户端类型 
    }
}
